Skip to main content

Alpha hybrid build tooling for typed Python functions.

Project description

Rextio

Rextio 0.1.8 is an alpha-stage local build tool for Python projects, published to PyPI on 2026-07-27 with plugin API 1.7, tooling contract 3.0.0. It supersedes 0.1.7 (2026-07-27; plugin API 1.7, tooling contract 2.28.0), which superseded 0.1.6 (2026-07-26; plugin API 1.6, tooling contract 2.27.0, readiness policy 11). It retains the experimental host source-AOT/executable and bounded strict artifact-contract Alpha from Release Train C, bounded plugin comparison expressions, Device Provider API 1 selection/preflight/build wiring, and fail-closed static device-domain lowering authorization from 0.1.6, and adds optional plugin function-scope RAII guards (API 1.7), and replaces public artifact lifecycle identities with semantic artifact-* names. Core alone does not claim CUDA framework support, certified accelerator execution, general artifact authorization, or general package AOT.

pip install rextio

It analyzes typed Python code, compiles eligible hot-path functions to Rust native modules, and keeps unsupported or unsafe code on the Python fallback path. The goal is to let Python projects adopt Rust acceleration selectively without rewriting the whole project.

Rextio can:

  • discover native candidates automatically or through @rextio.native
  • keep selected functions on fallback with @rextio.exempt
  • generate Rust/PyO3 code for accepted functions
  • generate Python wrappers that preserve normal import paths
  • fall back to Python when native code is unavailable or disabled
  • build hybrid artifacts, zipapp executables, Nuitka executables, standalone native Rust binaries, and optional Rust-importable crates
  • select and version-pin the exact cargo, maturin, Nuitka, and CPython a build uses ([toolchain] in rextio.toml)
  • explicitly select and preflight one compatible Device Provider for a statically authorized accelerator-bearing plugin domain

Rextio is not a Python replacement and does not attempt full Python semantics or whole-project Rust migration. Native compilation is an optimization; Python fallback behavior remains the correctness baseline.

Project repository: https://github.com/rextio/rextio

Author: Steve Si-young Song rextio.co@gmail.com — X (Twitter): @RextioDev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rextio-0.1.8.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rextio-0.1.8-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file rextio-0.1.8.tar.gz.

File metadata

  • Download URL: rextio-0.1.8.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for rextio-0.1.8.tar.gz
Algorithm Hash digest
SHA256 231f2ebee969d3d79104e5d0a00d134bd39f0d9ff540b75acb0612de4bf36238
MD5 c60cb1ea5768ffde412561623efd48f9
BLAKE2b-256 04f98e4b9abe0f287050b90dc4af1ea4b2ca5c55e212e771fbb80a9793407836

See more details on using hashes here.

File details

Details for the file rextio-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: rextio-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for rextio-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 087175de4afa8785da4ed5958641baa633df6115ca3d0ae2ea4f892efb05be5c
MD5 297c846d67a95628a4fb635d88903d04
BLAKE2b-256 77d1cc285cca46706b242592a735efcf09645d009bb9b8672b732a0cd521aabd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page